//
// Created by Champrin on 2022/7/2.
//

#ifndef UNTITLED_CONFIG_H
#define UNTITLED_CONFIG_H

#include <opencv2/opencv.hpp>

/**内参矩阵
 * fx 0 u0
 * 0 fy v0
 * 0 0 1.0
 **/
cv::Mat cameraMatrix = (cv::Mat_<double>(3, 3) <<
	2.5288200683593750e+03, 0, 9.5096539306640625e+02,
    0, 2.5273930664062500e+03, 6.5731097412109375e+02,
	0, 0, 1.0);
/**畸变矩阵
 * k_1
 * k_2
 * p_1
 * p_2
 * k_3
 **/
cv::Mat distortionCoefficients = (cv::Mat_<double>(5, 1) <<
	-1.3478538393974304e-01,
	3.1274507045745850e+00,
	-3.6946639884263277e-03,
	-8.1207370385527611e-04,
	-3.5746192932128906e+01);

float length = 225.0f;
float width = 55.0f;

std::vector<cv::Point3f> wPnt = std::vector<cv::Point3f>{
	cv::Point3f(-length / 2, -width / 2, 0),
	cv::Point3f(length / 2, -width / 2, 0),
	cv::Point3f(length / 2, width / 2, 0),
	cv::Point3f(-length / 2, width / 2, 0)
};
#endif //UNTITLED_CONFIG_H
